home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-04-07 | 2.3 KB | 98 lines |
- #
- # $PROJECT: c.datatype
- #
- # $VER: Makefile 39.1 (18.03.95)
- #
- # by
- #
- # Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
- #
- # (C) Copyright 1995
- # All Rights Reserved !
- #
- # $DESCRIPTION:
- #
- # If you want to recompile the datatype you have to do some initial work, to
- # run this makefile !
- # First you must have installed the ixemul.library and the gnu make utility !
- # Second you have to set the VERSION,REVISION variables (In my environment it's
- # automatically set). After this you need a assign called objs: to hold all
- # object files ! I use also a modified version of the bison.simple file (see in
- # misc/bison.simple) !
- # Now you can run make from this directory !
- #
- # $HISTORY:
- #
- # 18.03.95 : 039.001 : initial
- #
-
- VERSTR = $(VERSION).$(REVISION)
- NAME = c
- SHNAME = cdt
- SHORT = c.datatype $(VERSTR) highlights c/c++ keywords etc.
- PLACE = util/dtype
- README = Readme
-
- RELEASE = $(NAME)dt.lha
- RELEASEPAT = $(NAME)dt $(NAME)dt.info
-
-
- ##############################################################################
- #
- # just call the makefile in source for each cpu in CPUTOMAKE
- #
-
- BASECPU = 020
-
- DIFFCPU = 000 \
- 030 \
- 040
-
- CPUTOMAKE = $(BASECPU) $(DIFFCPU)
-
- ##############################################################################
- #
- # docs and guides
- #
-
- AUTODOCS = doc/$(NAME)_dtc.doc
- GUIDE = help/$(NAME)_dtc
-
- ##############################################################################
- #
- # source
- #
-
- SRCS = source/dispatch.c
-
-
- all:: cpuversions
-
- cpuversions::
- -@for i in $(CPUTOMAKE); \
- do \
- (cd source; echo "making 68$$i version of $(NAME).datatype"; \
- make SCOPTIMIZE='OPT OPTTIME OPTSCHED OPTINLOCAL CPU=68'$$i \
- SLOPT='NOICONS VERBOSE SMALLDATA SMALLCODE NODEBUG' \
- OBJDIR='/objs/$(SHNAME)/rls'$$i \
- DEBUG='' ) ; \
- done
- cp /objs/$(SHNAME)/rls$(BASECPU)/$(NAME).datatype classes/datatypes/$(NAME).datatype.$(BASECPU)
- -@for i in $(DIFFCPU); \
- do \
- (cd classes/datatypes; echo "makeing 68$$i patch file"; \
- sc:c/scompare -o$(NAME).datatype.$$i.pch $(NAME).datatype.$(BASECPU) objs:$(SHNAME)/rls$$i/$(NAME).datatype) ; \
- done
-
- documentation:: $(AUTODOCS) $(GUIDE)
-
- include misc/autodoc.mk
-
- release: $(RELEASE)
-
- include /gnu/local/share/gmk/release.mk
-
- checkout:
- (cd source; co -l Makefile; make checkout)
-
-